<!--<div class="container" id="particles-js">-->
  <!--<div [hidden]="submitted">-->
    <!--<h1>登陆</h1>-->
    <!--<form *ngIf="active" (ngSubmit)="onSubmit()" #siteForm="ngForm">-->
      <!--<div class="form-group">-->
        <!--<label for="name">用户名</label>-->
        <!--<input type="text" class="form-control" id="name"-->
               <!--required [(ngModel)]="model.name" name="name" #name="ngModel">-->
      <!--</div>-->

      <!--<div class="form-group">-->
        <!--<label for="password">密码</label>-->
        <!--<input type="password" class="form-control" id="password"-->
               <!--required [(ngModel)]="model.password" name="password" #name="ngModel">-->
      <!--</div>-->

      <!--<button type="submit" class="btn btn-default" [disabled]="!siteForm.form.valid">登陆</button>-->
    <!--</form>-->
  <!--</div>-->
<!--</div>-->


<div id="particles-js">
  <div class="login">
    <div class="login-top">
      登录
    </div>
    <form *ngIf="active" (ngSubmit)="onSubmit()" #siteForm="ngForm">
      <div class="login-center clearfix">
        <div class="login-center-img"><img src="assets/name.png" /></div>
        <div class="login-center-input">
          <div class="form-group">
            <label for="name"></label>
            <input type="text" class="form-control" id="name" placeholder="请输入您的用户名" onfocus="this.placeholder=''"
                   onblur="this.placeholder='请输入您的用户名'"  required [(ngModel)]="model.name" name="name" #name="ngModel" />
            <div class="login-center-input-text">用户名</div>
          </div>
        </div>
      </div>

      <div class="login-center clearfix">
        <div class="login-center-img"><img src="assets/password.png" /></div>
        <div class="login-center-input">
          <div class="form-group">
            <label for="password"></label>
            <input type="password" class="form-control" id="password" placeholder="请输入您的用密码" onfocus="this.placeholder=''"
                   onblur="this.placeholder='请输入您的密码'"  required [(ngModel)]="model.password" name="password" #name="ngModel" />
            <div class="login-center-input-text">密码</div>
          </div>
        </div>
      </div>

      <div class="login-button">
        <button style="cursor: pointer; width: 250px;height: 40px; background-color: dodgerblue; color: white; border-radius: 5px;" type="submit" class="btn btn-default" [disabled]="!siteForm.form.valid">登陆</button>
      </div>
      <div class="sk-rotating-plane"></div>
    </form>
  </div>
</div>



